import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('my', () => {
 let mydata=ref({
         username:localStorage.getItem('username'),
         dianhua:'1212434455',
         tupian:"https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
   })
   

  return { mydata }
},
  {
    persist: true,
  },
)
